package com.ruoyi.system.domain.dto;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.Type;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 部门Excel导入DTO
 * 
 * @author ruoyi
 */
public class SysDeptImportDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 部门名称 */
    @Excel(name = "部门名称", type = Type.IMPORT)
    @NotBlank(message = "部门名称不能为空")
    @Size(min = 0, max = 30, message = "部门名称长度不能超过30个字符")
    private String deptName;

    /** 父部门名称 */
    @Excel(name = "父部门名称", type = Type.IMPORT)
    private String parentDeptName;

    /** 部门层级路径 (用于表示完整的层级关系，如：公司/总部/研发部) */
    @Excel(name = "部门层级路径", type = Type.IMPORT)
    private String deptPath;

    /** 显示顺序 */
    @Excel(name = "显示顺序", type = Type.IMPORT)
    private Integer orderNum;

    /** 负责人 */
    @Excel(name = "负责人", type = Type.IMPORT)
    private String leader;

    /** 联系电话 */
    @Excel(name = "联系电话", type = Type.IMPORT)
    @Size(min = 0, max = 11, message = "联系电话长度不能超过11个字符")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱", type = Type.IMPORT)
    private String email;

    /** 部门状态 */
    @Excel(name = "部门状态", readConverterExp = "0=正常,1=停用", type = Type.IMPORT)
    private String status;

    /** 备注 */
    @Excel(name = "备注", type = Type.IMPORT)
    private String remark;

    public String getDeptName()
    {
        return deptName;
    }

    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getParentDeptName()
    {
        return parentDeptName;
    }

    public void setParentDeptName(String parentDeptName)
    {
        this.parentDeptName = parentDeptName;
    }

    public String getDeptPath()
    {
        return deptPath;
    }

    public void setDeptPath(String deptPath)
    {
        this.deptPath = deptPath;
    }

    public Integer getOrderNum()
    {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum)
    {
        this.orderNum = orderNum;
    }

    public String getLeader()
    {
        return leader;
    }

    public void setLeader(String leader)
    {
        this.leader = leader;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    @Override
    public String getRemark()
    {
        return remark;
    }

    @Override
    public void setRemark(String remark)
    {
        this.remark = remark;
    }
}